package service;

import model.Trolley;

import java.util.List;

public interface CartService {
    List<Trolley> getTrolleyById(String id);
    int updateTrolley(Trolley trolley);
    void deleteTrolleyAll(String userID);
    void deleteTrolley(String userid, String goodsid);
    int addTrolley(Trolley trolley);
    List<Trolley> getAllTrolley();
}
